package cn.iocoder.yudao.module.currency.controller.admin.rate.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.util.*;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 货币汇率 Response VO")
@Data
@ExcelIgnoreUnannotated
public class ExchangeRateRespVO {

    @Schema(description = "货币ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1708")
    @ExcelProperty("货币ID")
    private Long id;

    @Schema(description = "基准货币", requiredMode = Schema.RequiredMode.REQUIRED, example = "CNY")
    @ExcelProperty("基准货币")
    private String baseCurrency;

    @Schema(description = "货币简称", requiredMode = Schema.RequiredMode.REQUIRED, example = "人民币")
    @ExcelProperty("货币简称")
    private String currencyName;

    @Schema(description = "货币编码", requiredMode = Schema.RequiredMode.REQUIRED, example = "CNY")
    @ExcelProperty("货币编码")
    private String currencyCode;

    @Schema(description = "货币符号", requiredMode = Schema.RequiredMode.REQUIRED, example = "¥")
    @ExcelProperty("货币符号")
    private String currencySymbol;

    @Schema(description = "汇率（货币1:US）", requiredMode = Schema.RequiredMode.REQUIRED, example = "7.2")
    @ExcelProperty("汇率（货币1:US）")
    private BigDecimal exchangeRate;

    @Schema(description = "地区编码")
    @ExcelProperty("地区编码")
    private String areaCode;

    @Schema(description = "地区简称", example = "中国")
    @ExcelProperty("地区简称")
    private String areaName;

    @Schema(description = "显示顺序", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("显示顺序")
    private Integer currencySort;

    @Schema(description = "状态（0正常 1停用）", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("状态（0正常 1停用）")
    private Integer status;

    @Schema(description = "备注", example = "备注内容")
    @ExcelProperty("备注")
    private String remark;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}
